package com.lql.modules.service;

import com.lql.common.entity.User;

import java.util.List;

/**
 * @Title:
 * @Description:
 * @Author: longge
 * @Date: 2020/8/21
 * @Version: V1.0
 */
public interface IUserService {

    boolean saveUser(User user);

    User getById(Integer userId);


    /**
     * 根据openId获取绑定的所有用户信息
     * @param openId
     * @param merCode
     * @return
     */
    List<User> getByOpenId(String openId, Integer merCode);


}
